package org.zfes.snowier.zbss.xzy.mo.dtos.nginx;


import java.util.Date;

import org.zfes.snowier.zbss.xzy.mo.dtos.IBaseMDto;

public class NginxDto  extends IBaseMDto {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	//所属部署拓扑
	private String devicesn;
	//实例key
	private String inskey;
	//实例秒数
	private String insremark;
	
	
	private Byte st;
	private Date ti;
	private String message;
	
	private String host;
	
	private Integer actConns;
	
	private Integer accepts;
	private Integer handled ;
	private Integer requests ;
	private Integer reading;// —读取客户端的Header信息数.这个操作只是读取头部信息，读取完后马上进入writing状态，因此时间很短。
	private Integer writing;// — 响应数据到客户端的Header信息数.这个操作不仅读取头部，还要等待服务响应，因此时间比较长。
	private Integer waiting;// — 开启keep-alive后等候下一次请求指令的驻留连接.
	
	
	
	public NginxDto() {
		super();
	}
	public NginxDto(Integer actConns, Integer accepts, Integer handled, Integer requests,
			Integer reading, Integer writing, Integer waiting) {
		super();
		this.actConns = actConns;
		this.accepts = accepts;
		this.handled = handled;
		this.requests = requests;
		this.reading = reading;
		this.writing = writing;
		this.waiting = waiting;
	}
	public Integer getAccepts() {
		return accepts;
	}
	public NginxDto setAccepts(Integer accepts) {
		this.accepts = accepts;
		return this;
	}
	public Integer getHandled() {
		return handled;
	}
	public NginxDto setHandled(Integer handled) {
		this.handled = handled;
		return this;
	}
	public Integer getRequests() {
		return requests;
	}
	public NginxDto setRequests(Integer requests) {
		this.requests = requests;
		return this;
	}
	public Integer getReading() {
		return reading;
	}
	public NginxDto setReading(Integer reading) {
		this.reading = reading;
		return this;
	}
	public Integer getWriting() {
		return writing;
	}
	public NginxDto setWriting(Integer writing) {
		this.writing = writing;
		return this;
	}
	public Integer getWaiting() {
		return waiting;
	}
	public NginxDto setWaiting(Integer waiting) {
		this.waiting = waiting;
		return this;
	}
	
	public Integer getActConns() {
		return actConns;
	}
	public NginxDto setActConns(Integer actConns) {
		this.actConns = actConns;
		return this;
	}

	public String getMessage() {
		return message;
	}
	public NginxDto setMessage(String message) {
		this.message = message;
		return this;
	}
	public String getDevicesn() {
		return devicesn;
	}
	public NginxDto setDevicesn(String devicesn) {
		this.devicesn = devicesn;
		return this;
	}
	public Byte getSt() {
		return st;
	}
	public NginxDto setSt(Byte st) {
		this.st = st;
		return this;
	}
	public Date getTi() {
		return ti;
	}
	public NginxDto setTi(Date ti) {
		this.ti = ti;
		return this;
	}
	
	
	public String getHost() {
		return host;
	}
	public NginxDto setHost(String host) {
		this.host = host;
		return this;
	}
	public String getInskey() {
		return inskey;
	}
	public NginxDto setInskey(String inskey) {
		this.inskey = inskey;
		return this;
	}
	public String getInsremark() {
		return insremark;
	}
	public NginxDto setInsremark(String insremark) {
		this.insremark = insremark;
		return this;
	}
	@Override
	public String toString() {
		return "NginxDto [devicesn=" + devicesn + ", inskey=" + inskey + ", insremark=" + insremark + ", st=" + st
				+ ", ti=" + ti + ", message=" + message + ", host=" + host + ", actConns=" + actConns + ", accepts="
				+ accepts + ", handled=" + handled + ", requests=" + requests + ", reading=" + reading + ", writing="
				+ writing + ", waiting=" + waiting + ", type=" + type + ", receivetime=" + receivetime + "]";
	}
	

	

}
